/*
 *  Copyright 2025 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import (reference) '../../../../../styles/variables.less';

.metadata-agents-widget.ant-card {
  height: 100%;
  background-color: @white;
  border-color: @grey-15;
  border-radius: @border-rad-sm;
  padding: 0px;

  & > .ant-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px;

    &::before,
    &::after {
      display: none;
    }
  }

  .agent-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid @grey-15;
    border-radius: 18px;
    height: fit-content;
  }

  .metadata-agents-widget-table {
    margin-bottom: 0px;
    .table-container {
      border: none;
      border-radius: 0px 0px @border-rad-sm @border-rad-sm;
    }
    .ant-table {
      table > tbody > tr:last-child > td {
        border-bottom: none;
      }
      tr > td:first-child.name-column {
        padding-left: 16px;
      }
    }
  }
}
